package cn.kgm;

import java.util.function.Function;

public interface Param<T,R> extends Function<T, R> {

    @Override
    public default R apply(T t) {
        if (t instanceof Integer){
            return (R)t;
        }
        return null;
    }
}
